﻿
namespace Admin.NET.Core;
/// <summary>
/// 系统工序表
/// </summary>
[SugarTable(null, "系统工序表")]
[SysTable]
public class SysOperation:EntityTenant
{
    /// <summary>
    /// 款式Id
    /// </summary>
    [SugarColumn(ColumnDescription = "款式Id")]
    public long StyleId { get; set; }

    /// <summary>
    /// 款式详情
    /// </summary>
    [Navigate(NavigateType.OneToOne, nameof(StyleId))]
    public SysDictData StyleInfo { get; set; }

    /// <summary>
    /// 工序名
    /// </summary>
    [SugarColumn(ColumnDescription = "工序")]
    public string? OperationName { get; set; }

    /// <summary>
    /// 工序金额
    /// </summary>
    [SugarColumn(ColumnDescription = "工序金额")]
    public decimal OperationMoney { get; set; }
}
